package com.hengpeng.itfinbase.persist;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Enumerated;

import com.hengpeng.common.web.annotation.HtmlInput;
import com.hengpeng.common.web.annotation.HtmlInputPattern;
import com.hengpeng.common.web.annotation.HtmlInputType;
import com.hengpeng.itfinbase.en.UserAppStatus;
import com.hengpeng.itfinbase.idAssign.AbstractAssign18IdEntity;
import com.hengpeng.itfinbase.persist.UserInfo.RegionalType;
import com.hengpeng.itfinbase.persist.UserInfo.UserInfoType;

/**
 * 用户申请
 * @author Administrator
 *
 */
@Entity
public class UserTypeApply  extends AbstractAssign18IdEntity{

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    
    private Long userId;
 
    /**
     * 申请时间
     */
    @HtmlInput(label = "申请时间", type = HtmlInputType.TEXT,pattern = HtmlInputPattern.DATETIME, format = "yyyy-MM-dd HH:mm", nullable = true, index = 2)
    private Date createTime;
   
    /**
     * 处理时间
     */
    @HtmlInput(label = "处理时间", type = HtmlInputType.TEXT,pattern = HtmlInputPattern.DATETIME, format = "yyyy-MM-dd HH:mm", nullable = false, index = 3)
    private Date updateTime;

    /**
     * 申请类型
     */
    @HtmlInput(label = "申请类型", type = HtmlInputType.SELECT, nullable = true, index =4,labelProperty = "text")
    @Enumerated(javax.persistence.EnumType.STRING)
    private UserInfoType appUserInfoType;
    /**
     * 申请状态
     */
    @HtmlInput(label = "申请状态", type = HtmlInputType.SELECT, nullable = true, index =5,labelProperty = "text")
    @Enumerated(javax.persistence.EnumType.STRING)
    private UserAppStatus userApplyStatus;
    /**
     * 用户地区选择
     */
    @HtmlInput(label = "地区选择", type = HtmlInputType.SELECT, nullable = true, index =6,labelProperty = "text")
    @Enumerated(javax.persistence.EnumType.STRING)
    private RegionalType regionalType;
    
    public Date getCreateTime() {
        return createTime;
    }
    public RegionalType getRegionalType() {
        return regionalType;
    }
    public void setRegionalType(RegionalType regionalType) {
        this.regionalType = regionalType;
    }
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public UserInfoType getAppUserInfoType() {
        return appUserInfoType;
    }
    public void setAppUserInfoType(UserInfoType appUserInfoType) {
        this.appUserInfoType = appUserInfoType;
    }
    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }
    public Date getUpdateTime() {
        return updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public UserAppStatus getUserApplyStatus() {
        return userApplyStatus;
    }
    public void setUserApplyStatus(UserAppStatus userApplyStatus) {
        this.userApplyStatus = userApplyStatus;
    }

}
